package com.yikome.shop.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

import com.yikome.common.BaseEntity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@Entity
@Table(name = "s_collection", indexes = {@Index(columnList = "presentId")})
public class Collection extends BaseEntity {

	private static final long serialVersionUID = 241229180349472923L;
	
	private String name ; 
	
	private String comments ; 
	
	@Column(length = 2000)
	private String banners ; //url@#@locaion;url@#@locaion;url@#@locaion 
	
	private Long presentId ; 
	
	private String coverImg ; 
}
